3.1880 \(\int \frac{(1-2 x)^{3/2} (3+5 x)^2}{(2+3 x)^6} \, dx\)

Optimal. Leaf size=128 \[ \frac{23 (1-2 x)^{5/2}}{588 (3 x+2)^4}-\frac{(1-2 x)^{5/2}}{315 (3 x+2)^5}-\frac{4693 (1-2 x)^{3/2}}{15876 (3 x+2)^3}-\frac{4693 \sqrt{1-2 x}}{222264 (3 x+2)}+\frac{4693 \sqrt{1-2 x}}{31752 (3 x+2)^2}-\frac{4693 \tanh ^{-1}\left (\sqrt{\frac{3}{7}} \sqrt{1-2 x}\right )}{111132 \sqrt{21}} \]

[Out]

-(1 - 2*x)^(5/2)/(315*(2 + 3*x)^5) + (23*(1 - 2*x)^(5/2))/(588*(2 + 3*x)^4) - (4693*(1 - 2*x)^(3/2))/(15876*(2
 + 3*x)^3) + (4693*Sqrt[1 - 2*x])/(31752*(2 + 3*x)^2) - (4693*Sqrt[1 - 2*x])/(222264*(2 + 3*x)) - (4693*ArcTan
h[Sqrt[3/7]*Sqrt[1 - 2*x]])/(111132*Sqrt[21])

________________________________________________________________________________________

Rubi [A]  time = 0.0384327, antiderivative size = 128, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {89, 78, 47, 51, 63, 206} \[ \frac{23 (1-2 x)^{5/2}}{588 (3 x+2)^4}-\frac{(1-2 x)^{5/2}}{315 (3 x+2)^5}-\frac{4693 (1-2 x)^{3/2}}{15876 (3 x+2)^3}-\frac{4693 \sqrt{1-2 x}}{222264 (3 x+2)}+\frac{4693 \sqrt{1-2 x}}{31752 (3 x+2)^2}-\frac{4693 \tanh ^{-1}\left (\sqrt{\frac{3}{7}} \sqrt{1-2 x}\right )}{111132 \sqrt{21}} \]

Antiderivative was successfully verified.

[In]

Int[((1 - 2*x)^(3/2)*(3 + 5*x)^2)/(2 + 3*x)^6,x]

[Out]

-(1 - 2*x)^(5/2)/(315*(2 + 3*x)^5) + (23*(1 - 2*x)^(5/2))/(588*(2 + 3*x)^4) - (4693*(1 - 2*x)^(3/2))/(15876*(2
 + 3*x)^3) + (4693*Sqrt[1 - 2*x])/(31752*(2 + 3*x)^2) - (4693*Sqrt[1 - 2*x])/(222264*(2 + 3*x)) - (4693*ArcTan
h[Sqrt[3/7]*Sqrt[1 - 2*x]])/(111132*Sqrt[21])

Rule 89

Int[((a_.) + (b_.)*(x_))^2*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Simp[((b*c - a*
d)^2*(c + d*x)^(n + 1)*(e + f*x)^(p + 1))/(d^2*(d*e - c*f)*(n + 1)), x] - Dist[1/(d^2*(d*e - c*f)*(n + 1)), In
t[(c + d*x)^(n + 1)*(e + f*x)^p*Simp[a^2*d^2*f*(n + p + 2) + b^2*c*(d*e*(n + 1) + c*f*(p + 1)) - 2*a*b*d*(d*e*
(n + 1) + c*f*(p + 1)) - b^2*d*(d*e - c*f)*(n + 1)*x, x], x], x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && (LtQ
[n, -1] || (EqQ[n + p + 3, 0] && NeQ[n, -1] && (SumSimplerQ[n, 1] ||  !SumSimplerQ[p, 1])))

Rule 78

Int[((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> -Simp[((b*e - a*f
)*(c + d*x)^(n + 1)*(e + f*x)^(p + 1))/(f*(p + 1)*(c*f - d*e)), x] - Dist[(a*d*f*(n + p + 2) - b*(d*e*(n + 1)
+ c*f*(p + 1)))/(f*(p + 1)*(c*f - d*e)), Int[(c + d*x)^n*(e + f*x)^(p + 1), x], x] /; FreeQ[{a, b, c, d, e, f,
 n}, x] && LtQ[p, -1] && ( !LtQ[n, -1] || IntegerQ[p] ||  !(IntegerQ[n] ||  !(EqQ[e, 0] ||  !(EqQ[c, 0] || LtQ
[p, n]))))

Rule 47

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^n)/(b*
(m + 1)), x] - Dist[(d*n)/(b*(m + 1)), Int[(a + b*x)^(m + 1)*(c + d*x)^(n - 1), x], x] /; FreeQ[{a, b, c, d},
x] && NeQ[b*c - a*d, 0] && GtQ[n, 0] && LtQ[m, -1] &&  !(IntegerQ[n] &&  !IntegerQ[m]) &&  !(ILeQ[m + n + 2, 0
] && (FractionQ[m] || GeQ[2*n + m + 1, 0])) && IntLinearQ[a, b, c, d, m, n, x]

Rule 51

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n + 1
))/((b*c - a*d)*(m + 1)), x] - Dist[(d*(m + n + 2))/((b*c - a*d)*(m + 1)), Int[(a + b*x)^(m + 1)*(c + d*x)^n,
x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && LtQ[m, -1] &&  !(LtQ[n, -1] && (EqQ[a, 0] || (NeQ[
c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && IntLinearQ[a, b, c, d, m, n, x]

Rule 63

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - (a*d)/b + (d*x^p)/b)^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rubi steps

\begin{align*} \int \frac{(1-2 x)^{3/2} (3+5 x)^2}{(2+3 x)^6} \, dx &=-\frac{(1-2 x)^{5/2}}{315 (2+3 x)^5}+\frac{1}{315} \int \frac{(1-2 x)^{3/2} (1405+2625 x)}{(2+3 x)^5} \, dx\\ &=-\frac{(1-2 x)^{5/2}}{315 (2+3 x)^5}+\frac{23 (1-2 x)^{5/2}}{588 (2+3 x)^4}+\frac{4693 \int \frac{(1-2 x)^{3/2}}{(2+3 x)^4} \, dx}{1764}\\ &=-\frac{(1-2 x)^{5/2}}{315 (2+3 x)^5}+\frac{23 (1-2 x)^{5/2}}{588 (2+3 x)^4}-\frac{4693 (1-2 x)^{3/2}}{15876 (2+3 x)^3}-\frac{4693 \int \frac{\sqrt{1-2 x}}{(2+3 x)^3} \, dx}{5292}\\ &=-\frac{(1-2 x)^{5/2}}{315 (2+3 x)^5}+\frac{23 (1-2 x)^{5/2}}{588 (2+3 x)^4}-\frac{4693 (1-2 x)^{3/2}}{15876 (2+3 x)^3}+\frac{4693 \sqrt{1-2 x}}{31752 (2+3 x)^2}+\frac{4693 \int \frac{1}{\sqrt{1-2 x} (2+3 x)^2} \, dx}{31752}\\ &=-\frac{(1-2 x)^{5/2}}{315 (2+3 x)^5}+\frac{23 (1-2 x)^{5/2}}{588 (2+3 x)^4}-\frac{4693 (1-2 x)^{3/2}}{15876 (2+3 x)^3}+\frac{4693 \sqrt{1-2 x}}{31752 (2+3 x)^2}-\frac{4693 \sqrt{1-2 x}}{222264 (2+3 x)}+\frac{4693 \int \frac{1}{\sqrt{1-2 x} (2+3 x)} \, dx}{222264}\\ &=-\frac{(1-2 x)^{5/2}}{315 (2+3 x)^5}+\frac{23 (1-2 x)^{5/2}}{588 (2+3 x)^4}-\frac{4693 (1-2 x)^{3/2}}{15876 (2+3 x)^3}+\frac{4693 \sqrt{1-2 x}}{31752 (2+3 x)^2}-\frac{4693 \sqrt{1-2 x}}{222264 (2+3 x)}-\frac{4693 \operatorname{Subst}\left (\int \frac{1}{\frac{7}{2}-\frac{3 x^2}{2}} \, dx,x,\sqrt{1-2 x}\right )}{222264}\\ &=-\frac{(1-2 x)^{5/2}}{315 (2+3 x)^5}+\frac{23 (1-2 x)^{5/2}}{588 (2+3 x)^4}-\frac{4693 (1-2 x)^{3/2}}{15876 (2+3 x)^3}+\frac{4693 \sqrt{1-2 x}}{31752 (2+3 x)^2}-\frac{4693 \sqrt{1-2 x}}{222264 (2+3 x)}-\frac{4693 \tanh ^{-1}\left (\sqrt{\frac{3}{7}} \sqrt{1-2 x}\right )}{111132 \sqrt{21}}\\ \end{align*}

Mathematica [C]  time = 0.0257082, size = 47, normalized size = 0.37 \[ \frac{(1-2 x)^{5/2} \left (\frac{2401 (1035 x+662)}{(3 x+2)^5}-75088 \, _2F_1\left (\frac{5}{2},4;\frac{7}{2};\frac{3}{7}-\frac{6 x}{7}\right )\right )}{21176820} \]

Antiderivative was successfully verified.

[In]

Integrate[((1 - 2*x)^(3/2)*(3 + 5*x)^2)/(2 + 3*x)^6,x]

[Out]

((1 - 2*x)^(5/2)*((2401*(662 + 1035*x))/(2 + 3*x)^5 - 75088*Hypergeometric2F1[5/2, 4, 7/2, 3/7 - (6*x)/7]))/21
176820

________________________________________________________________________________________

Maple [A]  time = 0.01, size = 75, normalized size = 0.6 \begin{align*} -3888\,{\frac{1}{ \left ( -6\,x-4 \right ) ^{5}} \left ( -{\frac{4693\, \left ( 1-2\,x \right ) ^{9/2}}{5334336}}-{\frac{907\, \left ( 1-2\,x \right ) ^{7/2}}{489888}}+{\frac{6119\, \left ( 1-2\,x \right ) ^{5/2}}{229635}}-{\frac{32851\, \left ( 1-2\,x \right ) ^{3/2}}{629856}}+{\frac{32851\,\sqrt{1-2\,x}}{1259712}} \right ) }-{\frac{4693\,\sqrt{21}}{2333772}{\it Artanh} \left ({\frac{\sqrt{21}}{7}\sqrt{1-2\,x}} \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)^(3/2)*(3+5*x)^2/(2+3*x)^6,x)

[Out]

-3888*(-4693/5334336*(1-2*x)^(9/2)-907/489888*(1-2*x)^(7/2)+6119/229635*(1-2*x)^(5/2)-32851/629856*(1-2*x)^(3/
2)+32851/1259712*(1-2*x)^(1/2))/(-6*x-4)^5-4693/2333772*arctanh(1/7*21^(1/2)*(1-2*x)^(1/2))*21^(1/2)

________________________________________________________________________________________

Maxima [A]  time = 2.00369, size = 173, normalized size = 1.35 \begin{align*} \frac{4693}{4667544} \, \sqrt{21} \log \left (-\frac{\sqrt{21} - 3 \, \sqrt{-2 \, x + 1}}{\sqrt{21} + 3 \, \sqrt{-2 \, x + 1}}\right ) - \frac{1900665 \,{\left (-2 \, x + 1\right )}^{\frac{9}{2}} + 3999870 \,{\left (-2 \, x + 1\right )}^{\frac{7}{2}} - 57567552 \,{\left (-2 \, x + 1\right )}^{\frac{5}{2}} + 112678930 \,{\left (-2 \, x + 1\right )}^{\frac{3}{2}} - 56339465 \, \sqrt{-2 \, x + 1}}{555660 \,{\left (243 \,{\left (2 \, x - 1\right )}^{5} + 2835 \,{\left (2 \, x - 1\right )}^{4} + 13230 \,{\left (2 \, x - 1\right )}^{3} + 30870 \,{\left (2 \, x - 1\right )}^{2} + 72030 \, x - 19208\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^(3/2)*(3+5*x)^2/(2+3*x)^6,x, algorithm="maxima")

[Out]

4693/4667544*sqrt(21)*log(-(sqrt(21) - 3*sqrt(-2*x + 1))/(sqrt(21) + 3*sqrt(-2*x + 1))) - 1/555660*(1900665*(-
2*x + 1)^(9/2) + 3999870*(-2*x + 1)^(7/2) - 57567552*(-2*x + 1)^(5/2) + 112678930*(-2*x + 1)^(3/2) - 56339465*
sqrt(-2*x + 1))/(243*(2*x - 1)^5 + 2835*(2*x - 1)^4 + 13230*(2*x - 1)^3 + 30870*(2*x - 1)^2 + 72030*x - 19208)

________________________________________________________________________________________

Fricas [A]  time = 1.32736, size = 366, normalized size = 2.86 \begin{align*} \frac{23465 \, \sqrt{21}{\left (243 \, x^{5} + 810 \, x^{4} + 1080 \, x^{3} + 720 \, x^{2} + 240 \, x + 32\right )} \log \left (\frac{3 \, x + \sqrt{21} \sqrt{-2 \, x + 1} - 5}{3 \, x + 2}\right ) - 21 \,{\left (1900665 \, x^{4} - 5801265 \, x^{3} - 8540988 \, x^{2} - 2143262 \, x + 292028\right )} \sqrt{-2 \, x + 1}}{23337720 \,{\left (243 \, x^{5} + 810 \, x^{4} + 1080 \, x^{3} + 720 \, x^{2} + 240 \, x + 32\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^(3/2)*(3+5*x)^2/(2+3*x)^6,x, algorithm="fricas")

[Out]

1/23337720*(23465*sqrt(21)*(243*x^5 + 810*x^4 + 1080*x^3 + 720*x^2 + 240*x + 32)*log((3*x + sqrt(21)*sqrt(-2*x
 + 1) - 5)/(3*x + 2)) - 21*(1900665*x^4 - 5801265*x^3 - 8540988*x^2 - 2143262*x + 292028)*sqrt(-2*x + 1))/(243
*x^5 + 810*x^4 + 1080*x^3 + 720*x^2 + 240*x + 32)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)**(3/2)*(3+5*x)**2/(2+3*x)**6,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [A]  time = 1.60948, size = 157, normalized size = 1.23 \begin{align*} \frac{4693}{4667544} \, \sqrt{21} \log \left (\frac{{\left | -2 \, \sqrt{21} + 6 \, \sqrt{-2 \, x + 1} \right |}}{2 \,{\left (\sqrt{21} + 3 \, \sqrt{-2 \, x + 1}\right )}}\right ) - \frac{1900665 \,{\left (2 \, x - 1\right )}^{4} \sqrt{-2 \, x + 1} - 3999870 \,{\left (2 \, x - 1\right )}^{3} \sqrt{-2 \, x + 1} - 57567552 \,{\left (2 \, x - 1\right )}^{2} \sqrt{-2 \, x + 1} + 112678930 \,{\left (-2 \, x + 1\right )}^{\frac{3}{2}} - 56339465 \, \sqrt{-2 \, x + 1}}{17781120 \,{\left (3 \, x + 2\right )}^{5}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^(3/2)*(3+5*x)^2/(2+3*x)^6,x, algorithm="giac")

[Out]

4693/4667544*sqrt(21)*log(1/2*abs(-2*sqrt(21) + 6*sqrt(-2*x + 1))/(sqrt(21) + 3*sqrt(-2*x + 1))) - 1/17781120*
(1900665*(2*x - 1)^4*sqrt(-2*x + 1) - 3999870*(2*x - 1)^3*sqrt(-2*x + 1) - 57567552*(2*x - 1)^2*sqrt(-2*x + 1)
 + 112678930*(-2*x + 1)^(3/2) - 56339465*sqrt(-2*x + 1))/(3*x + 2)^5